Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: disable the localization noises when ego speed is slow #1542

Merged
merged 5 commits into from
Mar 7, 2025

Conversation

xtk8532704
Copy link
Contributor

@xtk8532704 xtk8532704 commented Mar 5, 2025

Description

Put a limit on the localization noise: disable noise when the ego speed < speed_threshold

Abstract

Put a limit on the localization noise: when the ego speed < speed_threshold, the localization noises are not applied.

Background

The ego can't engage when enable_keep_stopped_until_steer_convergence is true and the localization noises are applied.

Details

In a real environment, the ego can engage because the localization noises stabilize at a fixed value if the vehicle stops.
So we also want to stop localization noises when the ego stops.

Test results in the basic planning scenarios:
Before: 3792/3815 (pass/all)
After: 3817/3820 (pass/all)

References

None

Destructive Changes

None

Known Limitations

None

Copy link

github-actions bot commented Mar 5, 2025

Checklist for reviewers ☑️

All references to "You" in the following text refer to the code reviewer.

  • Is this pull request written in a way that is easy to read from a third-party perspective?
  • Is there sufficient information (background, purpose, specification, algorithm description, list of disruptive changes, and migration guide) in the description of this pull request?
  • If this pull request contains a destructive change, does this pull request contain the migration guide?
  • Labels of this pull request are valid?
  • All unit tests/integration tests are included in this pull request? If you think adding test cases is unnecessary, please describe why and cross out this line.
  • The documentation for this pull request is enough? If you think adding documents for this pull request is unnecessary, please describe why and cross out this line.

@xtk8532704 xtk8532704 changed the title fix: disable the localization noises when ego speed is slow feat: disable the localization noises when ego speed is slow Mar 5, 2025
@xtk8532704 xtk8532704 marked this pull request as ready for review March 6, 2025 02:02
@xtk8532704 xtk8532704 requested a review from yamacir-kit March 6, 2025 02:02
@yamacir-kit yamacir-kit added the bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 label Mar 7, 2025
@yamacir-kit yamacir-kit merged commit 7d00a57 into master Mar 7, 2025
16 checks passed
@github-actions github-actions bot deleted the xtk/loc-noise-exp branch March 7, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 small feature wait for regression test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants